package com.shop.item.atom.dao;

import com.shop.common.entity.item.ItemDetails;
import com.shop.common.model.param.item.ItemDetailsInput;
import com.shop.common.model.result.item.ItemDetailsOutput;

import java.util.List;

public interface ItemDetailsMapper {
    /**
     *
     * @mbggenerated 2019-02-21
     */
    int deleteByPrimaryKey(Integer id);

    int deleteByIds(List<Integer> ids);

    int deleteBySelective(ItemDetailsInput itemDetailsInput);

    /**
     *
     * @mbggenerated 2019-02-21
     */
    int insertSelective(ItemDetails record);

    /**
     *
     * @mbggenerated 2019-02-21
     */
    ItemDetails selectByPrimaryKey(Integer id);

    List<ItemDetailsOutput> selectBySelective(ItemDetailsInput itemDetailsInput);

    /**
     *
     * @mbggenerated 2019-02-21
     */
    int updateByPrimaryKeySelective(ItemDetails record);
}